University Life in Udine

Are you a sportsman?

If you are a sportsman, you will love our interactive map!

Some info about the notebook

In this notebook there will be content designed specifically for users, others for programmers.

This distinction is made explicit by the use of the following icons:


Setup 👨‍💻

We import the necessary libraries for the notebook to correctly work.

Explore Routes 👨‍💻

First we briefly explore the routes we have obtained thanks to mapstogpx.com/strava.

Running Routes

Cycling Routes

Point of Interest 👨‍💻

In addition to the routes, it would be interesting to show the fitness centres on the map.

We use OSM data to achieve this.

Interactive Map 🧍‍♂️

We add all the information to an interactive map that the user can use to find the running and cycling routes he or she considers most suitable.

Map Functions

Layers

The map, having the city of Udine as its centre, can be explored through 3 layers:

It is possible to change layers via the control centre in the top right-hand corner.

Routes

There are two types of routes: running and cycling. Both are based on real data obtained from Strava users.

It is possible to show only the desired route category via the control centre.

The routes are distinguishable by the icons representing them, located at the beginning of the route.

By passing the cursor over the markers, the name of the route is shown.

Clicking on the icons will instead display information such as:

Fitness and Sports Centres

The sports centres in Udine are also available on the map. Due to their number they are displayed in clusters. They can be viewed from the control centre at the top right.

Saving the map

Note: showing the map in the notebook and then saving it causes the map not to select an initial layer.

As a result, the map looks like this:

I have not found a solution to this problem, so let's run the code again in order to save the map (without displaying it here).